import instance  from "./request"
import qs from "qs"

// 精品推荐请求
export const getGoodsInfo = id => instance.get(`/products/${id}`) 

// 加入购物车
export const addToCartAPI = params => instance.post(`/shop/carts/add`, qs.stringify(params));